/**
 * layui功能
 */

$(function () {

    $('*[lay-tips]').on('mouseenter', function(){
        var content = $(this).attr('lay-tips');
        layer.tips(content, this, {
            tips: [1, '#3595CC'],
            time: 2000
        });
    }).on('mouseleave', function(){
        layer.close(this.index);
    });
});
